
		* Table A5
		* Summary Statistics

		clear all
		set more off
		use "C:\Users\EAsker\Desktop\ABR\data\ABR_final_data"
		cd "C:\Users\EAsker\Desktop\ABR\output"
		
		egen student_id=group(stu_id survey)
		sort student_id survey wave mot_hs fat_hs white black hispanic female ///
		fam_inc oth_race
		
		/* We need to observe a student once to obtain his 
		or her baseline characteristics. */
		
		duplicates drop student_id, force
		
		local sumvars mot_hs fat_hs female not_white fam_inc
		
		tabstat `sumvars'  ,stat(mean sd n) col(stat) 
		tabstat `sumvars'  if qrdinc80_b==1, stat(mean sd n) col(stat)
		tabstat `sumvars'  if qrdinc80_b==4, stat(mean sd n) col(stat)
		
		************************************************************************	
		
		clear all
		set more off
		use "C:\Users\EAsker\Desktop\ABR\data\ABR_final_data"
		cd "C:\Users\EAsker\Desktop\ABR\output"
		
		egen student_id=group(stu_id survey)
		sort student_id survey wave mot_hs fat_hs white black hispanic female ///
		fam_inc oth_race
		
		/* Obtain summary statistics of district-level finance variables for 
		districts that have at least one student enrolled in our survey data. 
		 */
		
		duplicates drop student_id, force
		
		local sumvars mean_rtexp_87 mean_rcexp_87 mean_rtrev_87 mean_rev_87 CSFR_BHJ

		tabstat `sumvars'   ,stat(mean sd n) col(stat) 
		tabstat `sumvars'   if qrdinc80_b==1, stat(mean sd n) col(stat)
		tabstat `sumvars'   if qrdinc80_b==4, stat(mean sd n) col(stat)
		
		local sumvars exposure_year_trend_BHJ

		tabstat `sumvars'  ,stat(mean sd n) col(stat)  
		tabstat `sumvars'   if qrdinc80_b==1, stat(mean sd n) col(stat)
		tabstat `sumvars'   if qrdinc80_b==4, stat(mean sd n) col(stat)
		
		local sumvars exposure_year_trend_BHJ

		tabstat `sumvars' 	if CSFR_BHJ==1 ,stat(mean sd n) col(stat)  
		tabstat `sumvars'   if qrdinc80_b==1&CSFR_BHJ==1, stat(mean sd n) col(stat)
		tabstat `sumvars'   if qrdinc80_b==4&CSFR_BHJ==1, stat(mean sd n) col(stat)
		
		************************************************************************
		
		clear all
		set more off
		use "C:\Users\EAsker\Desktop\ABR\data\ABR_final_data"
		cd "C:\Users\EAsker\Desktop\ABR\output"
		
		local sumvars high_school post_scndry vlntry_hours ///
		vltnry_prtcptn register_vote 
		
		/* We add the condition of Wave 2 because we evaluate outcome 
		variables two years after high school.*/

		tabstat `sumvars'  if  wave==2 , stat(mean sd n) col(stat) 
		tabstat `sumvars'  if  qrdinc80_b==1&wave==2, stat(mean sd n) col(stat)
		tabstat `sumvars'  if  qrdinc80_b==4&wave==2, stat(mean sd n) col(stat)
		
		